package com.ruoyi.factory.costControl.domain;

import java.util.List;

/**
 * 客户信息类
 */
public class CustomerInfo {

    // 客户主键
    private String pk_customer;
    //组织
    private String pk_org;
    //组织名称
    private String pk_orgname;
    //客户编号
    private String code;
    //客户全名
    private String name;
    //客户简称
    private String shortname;
    //法人
    private String legalbody;
    //企业地址
    private String detailinfo;
    // 启用状态
    private String enablestate;
    //社会统一信用代码
    private String taxpayerid;
    //是否是供应商
    private String issupplier;
    //上级客户id
    private String pk_customer_main;
    //客户分类主键
    private String pk_custclass;
    //客户分类编码
    private String pk_custclasscode;
    //客户分类名称
    private String pk_custclassname;

    //客户组织分配关系
    private List<CustomerByOrgInfo> customerorgs;


    //组织主键
    private String mappk_org;
    //组织名称
    private String mappk_orgname;
    //组织编码
    private String mappk_orcode;
    //专管部门id
    private String respdept;
    //专管业务员id
    private String respperson;
    //专管部门名称
    private String respdeptname;
    //专管部门编码
    private String respdeptcode;
    //专管业务员名称
    private String resppersonname;
    //专管业务员编码
    private String resppersoncode;
    //是否启用
    private String mapenablestate;

    public List<CustomerByOrgInfo> getCustomerorgs() {
        return customerorgs;
    }

    public void setCustomerorgs(List<CustomerByOrgInfo> customerorgs) {
        this.customerorgs = customerorgs;
    }
    public String getPk_customer() {
        return pk_customer;
    }

    public void setPk_customer(String pk_customer) {
        this.pk_customer = pk_customer;
    }

    public String getPk_org() {
        return pk_org;
    }

    public void setPk_org(String pk_org) {
        this.pk_org = pk_org;
    }

    public String getPk_orgname() {
        return pk_orgname;
    }

    public void setPk_orgname(String pk_orgname) {
        this.pk_orgname = pk_orgname;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getShortname() {
        return shortname;
    }

    public void setShortname(String shortname) {
        this.shortname = shortname;
    }

    public String getLegalbody() {
        return legalbody;
    }

    public void setLegalbody(String legalbody) {
        this.legalbody = legalbody;
    }

    public String getDetailinfo() {
        return detailinfo;
    }

    public void setDetailinfo(String detailinfo) {
        this.detailinfo = detailinfo;
    }

    public String getEnablestate() {
        return enablestate;
    }

    public void setEnablestate(String enablestate) {
        this.enablestate = enablestate;
    }

    public String getTaxpayerid() {
        return taxpayerid;
    }

    public void setTaxpayerid(String taxpayerid) {
        this.taxpayerid = taxpayerid;
    }

    public String getIssupplier() {
        return issupplier;
    }

    public void setIssupplier(String issupplier) {
        this.issupplier = issupplier;
    }

    public String getPk_customer_main() {
        return pk_customer_main;
    }

    public void setPk_customer_main(String pk_customer_main) {
        this.pk_customer_main = pk_customer_main;
    }

    public String getPk_custclass() {
        return pk_custclass;
    }

    public void setPk_custclass(String pk_custclass) {
        this.pk_custclass = pk_custclass;
    }

    public String getPk_custclasscode() {
        return pk_custclasscode;
    }

    public void setPk_custclasscode(String pk_custclasscode) {
        this.pk_custclasscode = pk_custclasscode;
    }

    public String getPk_custclassname() {
        return pk_custclassname;
    }

    public void setPk_custclassname(String pk_custclassname) {
        this.pk_custclassname = pk_custclassname;
    }

    public String getMappk_org() {
        return mappk_org;
    }

    public void setMappk_org(String mappk_org) {
        this.mappk_org = mappk_org;
    }

    public String getMappk_orgname() {
        return mappk_orgname;
    }

    public void setMappk_orgname(String mappk_orgname) {
        this.mappk_orgname = mappk_orgname;
    }

    public String getMappk_orcode() {
        return mappk_orcode;
    }

    public void setMappk_orcode(String mappk_orcode) {
        this.mappk_orcode = mappk_orcode;
    }

    public String getRespdept() {
        return respdept;
    }

    public void setRespdept(String respdept) {
        this.respdept = respdept;
    }

    public String getRespperson() {
        return respperson;
    }

    public void setRespperson(String respperson) {
        this.respperson = respperson;
    }

    public String getRespdeptname() {
        return respdeptname;
    }

    public void setRespdeptname(String respdeptname) {
        this.respdeptname = respdeptname;
    }

    public String getRespdeptcode() {
        return respdeptcode;
    }

    public void setRespdeptcode(String respdeptcode) {
        this.respdeptcode = respdeptcode;
    }

    public String getResppersonname() {
        return resppersonname;
    }

    public void setResppersonname(String resppersonname) {
        this.resppersonname = resppersonname;
    }

    public String getResppersoncode() {
        return resppersoncode;
    }

    public void setResppersoncode(String resppersoncode) {
        this.resppersoncode = resppersoncode;
    }

    public String getMapenablestate() {
        return mapenablestate;
    }

    public void setMapenablestate(String mapenablestate) {
        this.mapenablestate = mapenablestate;
    }

    @Override
    public String toString() {
        return "CustomerInfo{" +
                "pk_customer='" + pk_customer + '\'' +
                ", pk_org='" + pk_org + '\'' +
                ", pk_orgname='" + pk_orgname + '\'' +
                ", code='" + code + '\'' +
                ", name='" + name + '\'' +
                ", shortname='" + shortname + '\'' +
                ", legalbody='" + legalbody + '\'' +
                ", detailinfo='" + detailinfo + '\'' +
                ", enablestate='" + enablestate + '\'' +
                ", taxpayerid='" + taxpayerid + '\'' +
                ", issupplier='" + issupplier + '\'' +
                ", pk_customer_main='" + pk_customer_main + '\'' +
                ", pk_custclass='" + pk_custclass + '\'' +
                ", pk_custclasscode='" + pk_custclasscode + '\'' +
                ", pk_custclassname='" + pk_custclassname + '\'' +
                ", customerorgs=" + customerorgs +
                ", mappk_org='" + mappk_org + '\'' +
                ", mappk_orgname='" + mappk_orgname + '\'' +
                ", mappk_orcode='" + mappk_orcode + '\'' +
                ", respdept='" + respdept + '\'' +
                ", respperson='" + respperson + '\'' +
                ", respdeptname='" + respdeptname + '\'' +
                ", respdeptcode='" + respdeptcode + '\'' +
                ", resppersonname='" + resppersonname + '\'' +
                ", resppersoncode='" + resppersoncode + '\'' +
                ", mapenablestate='" + mapenablestate + '\'' +
                '}';
    }
}
